package com.example;

public class A {
    public int a;
    private int b;

    public int getB() {
        return b;
    }

    public void setB(int b) {
        this.b = b;
    }

    public void fun1() {
        System.out.println(a);
        System.out.println(b);
    }

    private void fun2() {
        System.out.println(a);
        System.out.println(b);
    }
}
